package ch.mustaffah.aoide.model;

public class Score {
	private int priority;

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	private boolean enabled;
	private int position;

	public int getPosition() {
		return position;
	}

	private Score() {

	}

	public Score(int position, int priority, boolean enabled) {
		this.priority = priority;
		this.enabled = enabled;
		this.position = position;
	}

	@Override
	public String toString() {
		String result = "";
		String content = "";
		if (this.enabled) {
			content = "X";
		} else {
			content = " ";
		}
		result = "[" + content + "]";
		return result;
	}

	public boolean isEnabled() {
		return this.enabled;
	}

	public void setPosition(int position) {
		this.position = position;
	}

}
